package com.JFapp.service;

import com.JFapp.domain.dto.TagDto;
import com.JFapp.domain.dto.TagListDto;
import com.JFapp.domain.entity.ResponseResult;
import com.JFapp.domain.entity.Tag;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * (Tag)表服务接口
 *
 * @author makejava
 * @since 2024-03-13 23:18:38
 */
public interface TagService extends IService<Tag> {

    ResponseResult selectTagList(Integer pageNum, Integer pageSize, TagListDto tagListDto);

    ResponseResult addTag(TagListDto tagListDto);

    void setTagToArticle(Long id, List<Long> tags);

    ResponseResult selectALLTagList();


    ResponseResult updateTag(TagDto tag);
}
